<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>接口测试</title>
<meta name="decorator" content="default" />
<script type="text/javascript">
	$ (document).ready (function () {
		// <c:if test="${tabmode eq '1'}">
			$(".nav-tabs").hide();
		// </c:if>
		$("#address").focus();
    });
</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active">
			<a href="${ctx}/fuct/webServiceTest/index/">接口测试</a>
		</li>
	</ul>
	<br />
	<form id="inputForm" action="${ctx}/fuct/webServiceTest/send" method="post" class="form-horizontal">
		<sys:message content="${message}"/>
		<table id="contentTable" class="table table-striped table-bordered table-condensed">
			<tr>
				<td style="text-align:center">接口地址</td>
				<td colspan="5">
					<input type="text" id="address" name="address" class="input-block-level required" value="${address}">
				</td>
				<td>
					<shiro:hasPermission name="fuct:webservice:send">
						<input id="btnSubmit" class="btn btn-primary" type="submit" value="发送"/>
					</shiro:hasPermission>
				</td>
			</tr>
			<tr>
				<td style="text-align:center">请求报文</td>
				<td colspan="4">
					<textarea rows="15" id="requireStr" style="width:95%;resize:none;" name="requireStr">${requireStr}</textarea>
				</td>
				<td style="text-align:center">返回报文</td>
				<td colspan="4">
					<textarea rows="15" id="responseStr" style="width:95%;resize:none;" name="responseStr">${responseStr}</textarea>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>